• Artikel
  • API Dokumentation
Show / Hide Table of Contents
  • Sokoban
    • AppSettings
    • Global
  • Sokoban.Control
    • GameFlow
    • GameState
    • ItemType
    • Level
    • Move
    • Provider
  • Sokoban.Model
    • Image
    • ImageConfig
    • LevelReader
    • LocalUser
    • OnlineTop10
    • User
    • UserLoft
  • Sokoban.View
    • CreditForm
    • GameForm
    • IntroForm
    • Severe

Class GameState

Objekt um den momentanen Bearbeitungsstand des Levels zwischen Control und View auszutauschen

Inheritance
System.Object
GameState
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Sokoban.Control
Assembly: Sokoban.dll
Syntax
public class GameState

Properties

Level

Level Nummer (Null-basiert)

Declaration
public int Level { get; set; }
Property Value
Type Description
System.Int32

Move

Bewegungen der Spielfigur

Declaration
public int Move { get; set; }
Property Value
Type Description
System.Int32

Push

Wie viele Kisten wurden geschoben?

Declaration
public int Push { get; set; }
Property Value
Type Description
System.Int32

Win

Ob das Level gelöst wurde

Declaration
public bool Win { get; set; }
Property Value
Type Description
System.Boolean

See Also

GameFlow
ItemType
GameForm
Back to top Generated by DocFX